<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
    <link rel="stylesheet" type="text/css" href="index.css">
    <script src="index.js"></script>
</head>
<body>
<form name="myform">
<table>
    <tr>
        <th colspan="2 " class="head">用户注册</th>
    </tr>
    <tr>
        <td class="first">用户名:</td>
        <td >
            <input type="text" id="name"  autocomplete="off">
            <em class="" id="name_signal"></em>
            <div class ="tip">用户名由 a～z 的英文字母(不区分大小写)、0～9 的
                数字、点或下划线组成，长度为 3～18 个字符，只能以数字或字母开头。</div>
        </td>
    </tr>
    <tr>
        <td class="first">密码:</td>
        <td>
            <input type="password" id="password" >
            <em class="" id="password_signal"></em>
            <div class ="tip">登录密码长度为6-16位(仅可用英文、数字、特殊字符)</div>
        </td>

    </tr>
    <tr>
        <td class="first">密码确认:</td>
        <td>
            <input type="password" id="rpassword" >
            <em class="" id="rpassword_signal"></em>

        </td>
    </tr>
    <tr>
        <td class="first">性别:</td>
        <td>
            <input type="radio" name ='sex' value="male">男
            <input type="radio" name ='sex' value="female">女
            <em class="" id="sex_signal"></em>
        </td>
    </tr>
    <tr>
        <td class="first">你来自:</td>
        <td>
            <select name="province" id="province"  onchange="getCity()">
                <option value="disabled selected hidden"></option>
                <script type="text/javascript">getProvince();</script>
            </select>
            <select name="city" id="city">
                <option value="disabled selected hidden"></option>
            </select>
            <em class="" id="home_signal"></em>
        </td>
    </tr>
    <tr>
        <td class="first">简介:</td>
        <td>
            <textarea id="introduction"></textarea>
            <em class="" id="introduction_signal"></em>
        </td>
    </tr>
    <tr>
        <td></td>
        <td>
            <input type="submit" value="提交" onclick="submitt();return false;">
            <input type="reset" value="重置">
        </td>
    </tr>

</table>
</form>
</body>
</html>